const { searchAgen, agnetSelect, addAgent, changeAgent, deleteAgent, getAgent } = require("../controller/agent")
const router = require("koa-router")()

//登陆 
router.post('/searchAgen', searchAgen)
router.post('/agnetSelect', agnetSelect)
router.post('/addAgent', addAgent)
router.post("/changeAgent", changeAgent)
router.post("/deleteAgent", deleteAgent)
router.get('/getAgent', getAgent)
module.exports = router
